package com.metagurukul.informer.service;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import com.metagurukul.informer.dao.TagDAO;
import com.metagurukul.informer.valueObjects.TagQuestionCounter;

public class ShowTagsService {
/**
 * 
 * @return the list of all tags
 * @throws SQLException
 */
	public List<TagQuestionCounter> getTags() throws SQLException {
		
		ArrayList<TagQuestionCounter> tagList =  new TagDAO().showTags();
		return tagList;
		
	}
}
